<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>规则</title>
    <!-- 基本框架 -->
    <link rel="stylesheet" href="../../../css/common.css">
    <script src="../../../script/vue.min.js" type="text/javascript"></script>
    <script src="../../../script/frame.js" type="text/javascript"></script>
    <script src="../../../script/baseConfig.js" type="text/javascript"></script>
    <script src="../../../script/utils.js" type="text/javascript"></script>
    <script src="../../../script/common.js" type="text/javascript"></script>
    <style>
        body{
            background:rgba(0,0,0,0);
        }
        .u-wrap {
            background: #ffffff;
            border-radius: 0.3rem;
            position:fixed;
            left:50%;
            top:50%;
            transform: translate(-50%,-50%);
            width:80%;
            padding-bottom:0.45rem;
        }
        .u-wrap ._title {
            position: relative;
            height: 1.1rem;
            line-height: 1.25rem;
            font-weight:bold;
            color:rgba(0,0,0,1);
            font-size: 0.32rem;
            text-align: center;
        }
        .u-wrap ._close {
            position: absolute;
            top: 0.05rem;
            right: 0.3rem;
            width: 0.4rem;
            height: 100%;
            display: flex;
            align-items: center;
        }
        .u-wrap ._close ._ico{
            width: 0.3rem;
            height: 0.3rem;
            background-image: url(../../../image/icons/close.png);
            background-position: center center;
            background-repeat: no-repeat;
            background-size: contain;
        }
        .u-wrap ._content {
            padding: 0 0.4rem;
            height: 6rem;
            font-size: 0.3rem;
            color: rgba(147,147,147,1);
            line-height: 0.6rem;
            overflow-y:auto;
            -webkit-overflow-scrolling: touch;
        }
    </style>
</head>
<body>
    <div id="app" v-cloak>
        <section class="comPop flexColumnEnd" @click="closeMe();">
            <div class="u-wrap" @click.stop>
                <div class="_title">
                    活动规则
                    <div class="_close"@click="closeMe()">
                        <div class="_ico"></div>
                    </div>
                </div>
                <div class="scrollWarp _content" v-html="rule"></div>
            </div>
        </section>
    </div>
    <script type="text/javascript">
        apiready = function() {
            var app = new Vue({
                el:'#app',
                data:{
					iosTest:false,
                    rule:api.pageParam.rule
                },
                methods:{
                    closeMe(){
                        api.closeFrame();
                    }
                },
                mounted(){
					$.initJs(this);
                }
            });
        }
    </script>
</body>
</html>
